* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #333;
}

.navbarBox {
    width: 100%;
    height: 44px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 44px;
    text-align: center;
    line-height: 44px;
    background-color: #121010;
    color: #fff;
    font-style: 16px;
    font-weight: bold;
}

.tabbarBox {
    width: 100%;
    height: 50px;
}

.tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background-color: #fff;
}

.tabbar .item {
    position: relative;
    flex: 1;
    height: 50px;
}

.tabbar .item a {
    display: inline-block;
    width: 100%;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 14px;
}

.tabbar_active {
    color: #409eff;
}

.tabbar .item span {
    position: absolute;
    top: 40%;
    left: 84%;
    transform: translate(-50%,-50%);
    height: 16px;
    line-height: 16px;
    padding: 0 6px;
    border-radius: 8px;
    background-color: red;
    font-size: 10px;
    color: #fff;
}

.shop-list-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 0 6px;
    margin-bottom: -6px;
}

.shop-item-box {
    width: calc(50% - 3px);
    margin-bottom: 6px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.shop-item-box .shop-img {
    width: 100%;
}

.shop-item-box .title {
    width: 100%;
    height: 36px;
    line-height: 18px;
    overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
    font-size: 12px;
    color: #333;
}

.shop-item-box .price-box {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.shop-item-box .price-box span{
    font-weight: 600;
    color: #f60;
}

.shop-item-box .price-box b {
    font-size: 10px;
}

.shop-item-box .price-box button {
    padding: 0 8px;
    background-color: red;
    border-radius: 2px;
    border: none;
    color: #fff;
    font-size: 10px;
}



.cart-page .cart-data {
    position: fixed;
    bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    background-color: #f60;
}

.cart-page .cart-data .price {
    font-size: 14px;
    color: #fff;
}

.cart-page .cart-data .shop {
    font-size: 10px;
    color: #fff;
}

.cart-page .cart-data .buy {
    width: 70px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    border-radius: 2px;
    background-color: #fff;
    font-size: 14px;
    color: #f60;
}


.cart-page .shop-list {
    padding: 10px;
    padding-bottom: 40px;
}

.cart-page .cart-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
}

.cart-page .cart-item .shop-img {
    width: 80px;
    height: 80px;
}

.cart-page .cart-item .right {
    width: calc(100% - 100px);
    height: 80px;
}

.cart-page .cart-item .name {
    width: 100%;
    height: 36px;
    line-height: 18px;
    overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
    font-size: 13px;
    color: #333;
}

.cart-page .price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}

.cart-page .price-box .price{
    color: #f60;
}

.cart-page .price-box button{
    padding: 0 6px;
}

.cart-page .price-box input{
    width: 60px;
    text-align: center;
    margin: 0 4px;
    user-select: all;
}
